﻿@import "//netdna.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.css";

body {
    font-family: "Segoe UI";
    font-size: 14px;
    overflow: auto !important;
}

a {
    color: #00188F;
}

label {
    margin-bottom: 0;
}

.alert-info {
    background-color: #fff;
    color: #737373;
    border-color: none;
}

/*-------------- Top bar -----------*/
.o365cs-base.o365cst .ms-bgc-tp, .o365cs-base.o365cst .o365cs-topnavLinkBackground-2 {
    background-color: #00204F !important;
}

.o365cs-nav-header16 .o365cs-nav-leftAlign, .o365cs-nav-header16 .o365cs-nav-centerAlign {
    background-color: #00204F;
}

.ms-promotedActionButton-icon {
    display: none !important;
}
/*-------------- End Top bar -----------*/

/*-------- Header top --------*/
.logo {
    margin: 10px 0;
    padding-left: 0;
}

.search-box {
    margin-top: 30px;
}

.ms-siteicon-img {
    max-width: 360px;
}
/*-------- End Header top --------*/

/*-------- Top navigation --------*/
#topNavigation {
    background-color: #00204F;
    height: 35px;
    margin-top: 10px;
}

#s4-titlerow {
    padding-top: 0;
    float: left;
    height: 35px;
    line-height: 35px;
    width: 100%;
}

#titleAreaBox {
    width: 100%;
}

.ms-breadcrumb-box {
    height: 35px;
    float: left;
}

.ms-verticalAlignTop {
    vertical-align: middle;
}

.ms-breadcrumb-top {
    height: 35px;
    float: left;
    width: 100%;
}

.ms-core-listMenu-horizontalBox {
    display: flex;
}

    .ms-core-listMenu-horizontalBox ul, .ms-core-listMenu-horizontalBox li {
        height: 35px;
    }

        .ms-core-listMenu-horizontalBox li.static > .ms-core-listMenu-item {
            color: #ffffff;
            border: 0 none;
            margin-right: 0;
        }

        .ms-core-listMenu-horizontalBox ul > li.selected {
            background-color: #02BDF4;
        }

    .ms-core-listMenu-horizontalBox li {
        padding: 0 20px 0 20px;
    }

        .ms-core-listMenu-horizontalBox li:first-child {
            padding-left: 0;
        }
/*-------- End Top navigation --------*/

/*-------- Main content --------*/
input.ms-cui-cb-input {
    height: 19px;
    padding: 2px;
}


#s4-workspace {
    height: auto !important;
}

#s4-bodyContainer {
    padding-bottom: 0;
}

#contentRow {
    padding-top: 0;
}

#contentBox {
    margin-right: 0;
    margin-left: 0;
    float: left;
    min-height: 1000px;
}

.ms-core-pageTitle {
    color: #737373;
    border-bottom: 2px solid #bcbcbc;
    width: 70px;
    padding-bottom: 16px;
    margin-bottom: 20px;
    font-size: 32px;
    font-weight: bold;
    text-transform: uppercase;
}

#sideNavBox {
    margin-left: 0;
    margin-right: 0;
}

.ms-blog-listMenu-root {
    width: 160px;
}

.ms-commandLink {
    margin-top: 2px;
}

.ms-promlink-button-image {
    float: left;
}

.ms-promlink-button-right {
    left: -204px;
    top: -232px;
}

.ms-promlink-button-left {
    left: -132px;
    top: -236px;
}

.ms-cui-dd-text {
    height: 19px;
    padding: 1px 4px;
}

.ms-cui-dd-arrow-button {
    width: 15px;
}


/*-------- End Main content --------*/

.ms-blog-LeftColumn {
    padding-left: 15px;
}

    .ms-blog-LeftColumn ul.ms-comm-adminLinksListNoMargin li ul li.ms-comm-adminLinksListItem:last-child {
        display: none;
    }

.ms-blog-MainArea {
    -moz-min-width: 100%;
    -ms-min-width: 100%;
    -o-min-width: 100%;
    -webkit-min-width: 100%;
    min-width: 100%;
}

/*---What's new---*/
.ms-blog-adminLinks {
    -moz-min-width: 100%;
    -ms-min-width: 100%;
    -o-min-width: 100%;
    -webkit-min-width: 100%;
    min-width: 100%;
    margin-bottom: 0;
}

.ms-webpart-titleText {
    padding-bottom: 2px;
}

.ms-core-listMenu-verticalBox > .ms-core-listMenu-root > li > .ms-core-listMenu-item {
    font-weight: 500;
    color: #737373;
    font-size: 18px;
}

.ms-core-listMenu-verticalBox li.static > .ms-core-listMenu-item {
    padding: 5px 0;
}

#topnewscategory {
    margin-bottom: 20px;
}

#categories #topnewscategory .newscontent {
    clear: both;
    margin-top: 2px;
    background-color: #eeeeee;
    padding: 0 10px 10px 10px;
}

#categories #topnewscategory img {
    width: 100%;
}

#categories #topnewscategory h3 {
    margin: 0;
}

    #categories #topnewscategory h3 a {
        color: #00188F;
        font-weight: 400;
    }

#categories #othernewscategory .newsitem {
    margin-bottom: 20px;
}

    #categories #othernewscategory .newsitem .newsleft img {
        border: 1px solid #ccc;
        width: 100%;
    }

    #categories #othernewscategory .newsitem .newsright {
        margin-bottom: 10px;
    }

        #categories #othernewscategory .newsitem .newsright .title {
            margin: 0;
            padding: 0;
            line-height: 1.4;
            color: #00188F;
            font-weight: 400;
        }

        #categories #othernewscategory .newsitem .newsright .newstime {
            margin: 2px 0;
        }

        #categories #othernewscategory .newsitem .newsright .content {
            padding-top: 4px;
            font-size: 12px;
        }

        #categories #othernewscategory .newsitem .newsright .viewMore {
            margin-top: 10px;
            border: 1px solid #ccc;
            -ms-border-radius: 3px;
            border-radius: 3px;
            padding: 2px 8px;
            background-color: #e9e9e9;
            color: #737373;
            font-size: 12px;
            text-decoration: none;
        }

/*---Menu Left---*/
#leftContent {
    padding-left: 0;
}

#category .title {
    font-weight: 500;
    color: #737373;
    font-size: 18px;
}

#category ul.static {
    list-style: none;
    padding-left: 0;
}

    #category ul.static li.static {
        padding: 5px 0;
    }
/*---End Menu Left---*/

/*---Upcoming events---*/
#upcomingEvents .calendaritem img {
    width: 100%;
}

#upcomingEvents .calendaritem .titleCalendar {
    float: left;
    width: 100%;
}

    #upcomingEvents .calendaritem .titleCalendar .dateSection {
        border-right: 1px solid #d2d2d2;
        padding-bottom: 5px;
        float: left;
        padding-right: 20px;
        text-align: center;
    }

        #upcomingEvents .calendaritem .titleCalendar .dateSection .dayCalendar {
            text-transform: uppercase;
            margin: 0;
            padding: 0;
            color: #737373;
        }

        #upcomingEvents .calendaritem .titleCalendar .dateSection .dateCalendar {
            margin: 0;
            padding: 0;
            color: #737373;
        }

        #upcomingEvents .calendaritem .titleCalendar .dateSection .monthCalendar {
            text-transform: uppercase;
            margin: 0;
            padding: 0;
            color: #737373;
        }

    #upcomingEvents .calendaritem .titleCalendar .author {
        color: #0C2696;
        font-size: 16px;
        width: auto;
        text-align: center;
    }

#upcomingEvents .calendaritem .caption {
    float: left;
    margin-bottom: 20px;
}

#upcomingEvents .calendaritem .time {
    font-weight: bold;
    margin-top: 10px;
    color: #737373;
}

    #upcomingEvents .calendaritem .time .totalcomment {
        font-weight: normal;
    }

#upcomingEvents .calendaritem .content {
    color: #777;
}

#upcomingEvents .calendaritem .moreInfor {
    margin-top: 10px;
    border: 1px solid #ccc;
    -ms-border-radius: 3px;
    border-radius: 3px;
    padding: 2px 8px;
    background-color: #e9e9e9;
    color: #737373;
    font-size: 12px;
    text-decoration: none;
}

#upcomingEvents .addToCalendar {
    margin-top: 10px;
}

    #upcomingEvents .addToCalendar .icon-outlook {
        background-image: url("/teams/OurVoiceHN/Style Library/Images/outlook_icon.png");
        padding-left: 20px;
        background-repeat: no-repeat;
        background-attachment: scroll;
        background-color: transparent;
        background-position-x: 0px;
        background-position-y: 50%;
        font-size: 12px;
        text-decoration: none;
    }
/*--- End Upcoming events ---*/

/*--- Microsoft People ---*/
#microsoftpeoplecategories #microsoftpeopletopnewscategory {
    margin-bottom: 20px;
}

    #microsoftpeoplecategories #microsoftpeopletopnewscategory img {
        width: 100%;
    }

    #microsoftpeoplecategories #microsoftpeopletopnewscategory .newscontent {
        clear: both;
        margin-top: 2px;
        background-color: #eeeeee;
        padding: 0 10px 10px 10px;
    }

        #microsoftpeoplecategories #microsoftpeopletopnewscategory .newscontent h3 {
            margin: 0;
            font-weight: 400;
        }

#microsoftpeoplecategories #microsoftpeopleothernewscategory .newsitem {
    margin-bottom: 20px;
}

    #microsoftpeoplecategories #microsoftpeopleothernewscategory .newsitem .newsleft img {
        width: 100%;
        border: 1px solid #ccc;
    }

    #microsoftpeoplecategories #microsoftpeopleothernewscategory .newsitem .newsright .title {
        margin: 0;
        padding: 0;
        line-height: 1.4;
        color: #00188F;
        font-weight: 400;
    }

    #microsoftpeoplecategories #microsoftpeopleothernewscategory .newsitem .newsright .newstime {
        margin: 2px 0;
    }

    #microsoftpeoplecategories #microsoftpeopleothernewscategory .newsitem .newsright .content {
        padding-top: 4px;
        font-size: 12px;
    }

    #microsoftpeoplecategories #microsoftpeopleothernewscategory .newsitem .newsright .viewMore {
        margin-top: 10px;
        border: 1px solid #ccc;
        -ms-border-radius: 3px;
        border-radius: 3px;
        padding: 2px 8px;
        background-color: #e9e9e9;
        color: #737373;
        font-size: 12px;
        text-decoration: none;
    }
/*--- End Microsoft People ---*/

/*--- Global ---*/
#globalcategories #globaltopnewscategory {
    margin-bottom: 20px;
}

    #globalcategories #globaltopnewscategory img {
        width: 100%;
    }

    #globalcategories #globaltopnewscategory .newscontent {
        clear: both;
        margin-top: 2px;
        background-color: #eeeeee;
        padding: 0 10px 10px 10px;
    }

        #globalcategories #globaltopnewscategory .newscontent h3 {
            margin: 0;
            font-weight: 400;
        }

#globalcategories #globalothernewscategory .newsitem {
    margin-bottom: 20px;
}

    #globalcategories #globalothernewscategory .newsitem .newsright .title {
        margin: 0;
        padding: 0;
        line-height: 1.4;
        color: #00188F;
        font-weight: 400;
    }

    #globalcategories #globalothernewscategory .newsitem .newsright .newstime {
        margin: 2px 0;
    }

    #globalcategories #globalothernewscategory .newsitem .newsright .content {
        padding-top: 4px;
        font-size: 12px;
    }

    #globalcategories #globalothernewscategory .newsitem .newsright .viewMore {
        margin-top: 10px;
        border: 1px solid #ccc;
        -ms-border-radius: 3px;
        border-radius: 3px;
        padding: 2px 8px;
        background-color: #e9e9e9;
        color: #737373;
        font-size: 12px;
        text-decoration: none;
    }
/*--- End Global ---*/


/*---Details---*/
ul.ms-blog-postList {
    -moz-min-width: 100%;
    -ms-min-width: 100%;
    -o-min-width: 100%;
    -webkit-min-width: 100%;
    min-width: 100%;
}

    ul.ms-blog-postList li h1 {
        margin: 0;
    }

.imgheader a {
    font-size: 20px;
    font-weight: bold;
}

    .imgheader a img {
        width: 100%;
    }

.ms-tableCell {
    vertical-align: top;
}

/*---End Details---*/

/*---Top Views---*/
.ms-blog-LeftColumn .ms-webpart-zone div.ms-webpart-cell-vertical:first-child {
    border: 1px solid #d6d6d6;
}

    .ms-blog-LeftColumn .ms-webpart-zone div.ms-webpart-cell-vertical:first-child .ms-webpart-chrome-title {
        border-bottom: 1px solid #d6d6d6;
        background-color: #00204F;
    }

        .ms-blog-LeftColumn .ms-webpart-zone div.ms-webpart-cell-vertical:first-child .ms-webpart-chrome-title h2 {
            margin: 10px 0 7px 10px;
            font-size: 14px;
            font-weight: 400;
            color: #ffffff;
        }

    .ms-blog-LeftColumn .ms-webpart-zone div.ms-webpart-cell-vertical:first-child .ms-wpContentDivSpace ul.cbs-List li .cbs-Item {
        border-bottom: 1px dotted #d6d6d6;
        padding: 10px 10px 10px 0;
        margin: 0 10px;
    }

        .ms-blog-LeftColumn .ms-webpart-zone div.ms-webpart-cell-vertical:first-child .ms-wpContentDivSpace ul.cbs-List li .cbs-Item .cbs-Thumbnail {
            background: url('/teams/OurVoiceHN/Style Library/Images/doublerow_green.png') no-repeat 0 7px;
            padding-left: 16px;
        }

    .ms-blog-LeftColumn .ms-webpart-zone div.ms-webpart-cell-vertical:first-child .ms-wpContentDivSpace ul.cbs-List li .cbs-Item {
        width: 300px;
    }

    .ms-blog-LeftColumn .ms-webpart-zone div.ms-webpart-cell-vertical:first-child .ms-wpContentDivSpace ul.cbs-List li:last-child .cbs-Item {
        border-bottom: 0 none;
    }

/*---------------------*/
#topViews .ms-webpart-zone div.ms-webpart-cell-vertical:first-child {
    border: 1px solid #d6d6d6;
}

    #topViews .ms-webpart-zone div.ms-webpart-cell-vertical:first-child .ms-webpart-chrome-title {
        border-bottom: 1px solid #d6d6d6;
        background-color: #00204F;
    }

        #topViews .ms-webpart-zone div.ms-webpart-cell-vertical:first-child .ms-webpart-chrome-title h2 {
            margin: 10px 0 7px 10px;
            font-size: 14px;
            font-weight: 400;
            color: #ffffff;
        }

    #topViews .ms-webpart-zone div.ms-webpart-cell-vertical:first-child .ms-wpContentDivSpace ul.cbs-List li .cbs-Item {
        border-bottom: 1px dotted #d6d6d6;
        padding: 10px 10px 10px 0;
        margin: 0 10px;
    }

        #topViews .ms-webpart-zone div.ms-webpart-cell-vertical:first-child .ms-wpContentDivSpace ul.cbs-List li .cbs-Item .cbs-Thumbnail {
            background: url('/teams/OurVoiceHN/Style Library/Images/doublerow_green.png') no-repeat 0 7px;
            padding-left: 16px;
        }

    #topViews .ms-webpart-zone div.ms-webpart-cell-vertical:first-child .ms-wpContentDivSpace ul.cbs-List li .cbs-Item {
        width: 265px;
    }

    #topViews .ms-webpart-zone div.ms-webpart-cell-vertical:first-child .ms-wpContentDivSpace ul.cbs-List li:last-child .cbs-Item {
        border-bottom: 0 none;
    }
/*---End Top Views---*/

/*---Last Comment---*/
#latestcomment {
    border: 1px solid #d6d6d6;
}

    #latestcomment .latestCommentTitle {
        background-color: #00204F;
        padding: 10px;
        border-bottom: 1px solid #d6d6d6;
        color: #ffffff;
    }

    #latestcomment .list-group-item {
        border: none;
        border-bottom: 1px dotted #d6d6d6;
        margin: 0 10px;
        padding: 10px 0;
    }

        #latestcomment .list-group-item:last-child {
            border-bottom: 0 none;
        }

        #latestcomment .list-group-item .greenArrow {
            background: url('/teams/OurVoiceHN/Style Library/Images/doublerow_green.png') no-repeat 0 7px;
            padding-left: 16px;
        }

.list-group {
    margin-bottom: 0;
}

.ms-rte-embedil {
    width: 100%;
}

#latestcomment .ms-webpart-chrome-title {
    background-color: #00204F;
}
/*---End Last Comment---*/

/*--- Blog Tools ---*/
.ms-blog-adminLinks {
    background-color: #fff;
    padding: 0;
}

.ms-comm-adminLinksListNoMargin {
    border: 1px solid #d6d6d6;
}

.ms-comm-adminLinksTitleMargin {
    background-color: #00204F;
    padding: 10px 0;
    border-bottom: 1px solid #d6d6d6;
}

.ms-webpart-titleText.ms-webpart-titleText {
    font-size: 14px;
    color: #fff;
    margin-left: 10px;
    font-weight: normal;
}

.ms-comm-adminLinksListItem {
    border-bottom: 1px dotted #d6d6d6;
    padding: 10px 10px 10px 0;
    margin: 0 10px;
}

#blogTools .ms-webpart-chrome-title {
    background-color: #00204F;
    border-bottom: 1px solid #d6d6d6;
}

#blogTools ul.ms-comm-adminLinksListNoMargin li ul li.ms-comm-adminLinksListItem:last-child {
    display: none;
}
/*--- End Blog Tools ---*/

/*--- Back top top ---*/
.backtotop {
    position: fixed;
    right: 100px;
    bottom: 240px;
    color: black;
    display: none;
}

    .backtotop:hover {
        cursor: pointer;
    }
/*--- End Back top top ---*/

/*-------- Footer --------*/
#footerContent {
    background-color: #737373;
    color: #ffffff;
    margin-top: 20px;
}

    #footerContent .footTop {
        margin-top: 15px;
    }

        #footerContent .footTop .logoFoot img {
            height: 30px;
        }

        #footerContent .footTop .contactUs {
            text-align: right;
        }

            #footerContent .footTop .contactUs img {
                width: 24px;
                height: 24px;
            }

    #footerContent .footBottom .inforFoot {
        margin-top: 10px;
        margin-bottom: 10px;
        font-size: 9pt;
    }

        #footerContent .footBottom .inforFoot p {
            margin: 0;
        }

        #footerContent .footBottom .inforFoot a {
            color: #fff;
            text-decoration: underline;
        }
/*-------- End Footer --------*/

/*-------- Post List --------*/
span.imgPostList img {
    height: 80px;
    width: 80px;
}

.ms-rtefield {
    height: 500px;
    -moz-min-width: 0;
    -ms-min-width: 0;
    -o-min-width: 0;
    -webkit-min-width: 0;
    min-width: 0;
    overflow: scroll;
    width: 790px;
}

.ms-rtestate-write {
    min-height: 100%;
    outline: none;
}
/*-------- End Post List --------*/

/*-------- Responsive --------*/
@media screen and (min-width: 1521px) {
    .ms-long {
        width: 790px;
    }
}

@media screen and (max-width: 1440px) {
    #sideNavBox {
        margin-left: 0;
        width: 140px;
    }
}

@media screen and (max-width: 1366px) {
    .ms-long {
        width: 600px;
    }

    #sideNavBox {
        width: 139px;
        margin-left: 0;
    }

    .ms-rtefield {
        width: 600px;
    }
}

@media screen and (max-width: 1280px) {
    #sideNavBox {
        margin-left: 0;
        width: 75px;
    }

    #contentBox {
        margin-left: 60px;
    }

    #yourCalendarcontent .calendaritem .titleCalendar .dateSection {
        width: 32%;
    }

    #yourCalendarcontent .calendaritem .titleCalendar .author {
        width: 68%;
    }

    #usefullLinks-view .usefullLinks-Topsites {
        padding-left: 25px;
    }

    #usefullLinks-view .usefullLinks-popularsearches {
        padding-left: 15px;
    }

    .ms-blog-LeftColumn .ms-webpart-zone div.ms-webpart-cell-vertical:first-child .ms-wpContentDivSpace ul.cbs-List li .cbs-Item {
        width: 235px;
    }

    #topViews .ms-webpart-zone div.ms-webpart-cell-vertical:first-child .ms-wpContentDivSpace ul.cbs-List li .cbs-Item {
        width: 235px;
    }
}

@media screen and (max-width: 1024px) {
    #sideNavBox {
        width: 60px;
        margin-left: 0;
    }

    .ms-blog-LeftColumn .ms-webpart-zone div.ms-webpart-cell-vertical:first-child .ms-wpContentDivSpace ul.cbs-List li .cbs-Item {
        width: 180px;
    }

    #topViews .ms-webpart-zone div.ms-webpart-cell-vertical:first-child .ms-wpContentDivSpace ul.cbs-List li .cbs-Item {
        width: 180px;
    }

    .ms-long {
        width: 444px;
    }

    #categories #othernewscategory .newsitem .newsright .title {
        font-size: 14px;
    }

    /* Hide unnecessary page elements */
    .ms-core-listMenu-horizontalBox .ms-listMenu-editLink /* Global navigation "Edit Links" when managed navigation is in use */ {
        display: none;
    }

    /* Undo the crazy that SharePoint creates with table display set to DIVs*/
    #s4-titlerow .ms-table,
    #s4-titlerow .ms-tableRow,
    #s4-titlerow .ms-tableCell {
        display: block;
    }

    /* Site logo wrapper */
    #siteIcon {
        float: none; /* Remove OOTB float - this allows title row elements to return to typical block elements along with the table display changes above */
        text-align: left; /* Alter OOTB alignment */
    }

    /* Page title text */
    #pageTitle {
        position: absolute;
        font-size: 30px;
        margin-left: 105px;
        padding-bottom: 10px;
    }

    /* Top nav bar size */
    .ms-breadcrumb-box {
        height: 30px; /* Alter OOTB height */
    }

    /* Top nav bar placement & formatting */
    .ms-breadcrumb-top > .ms-core-navigation {
        display: block; /* Force respect of some declarations */
        /*margin-top: 20px;*/ /* Create space between the site logo/title and nav bar */
    }

    /* Search placement */
    .ms-mpSearchBox.ms-floatRight,
    #searchInputBox {
        float: none; /* Remove OOTB float - this allows the search to move to the left under the top nav bar */
    }

    /* Adjust padding for content containers */
    #usefullLinks-view .usefullLinks-Topsites {
        padding-left: 8px;
    }

    #usefullLinks-view .usefullLinks-popularsearches {
        padding-left: 20px;
    }

    #contentBox {
        margin-left: 60px;
    }

    #yourCalendarcontent .calendaritem .titleCalendar .dateSection {
        width: 41%;
    }

    #yourCalendarcontent .calendaritem .titleCalendar .author {
        width: 59%;
    }
}

@media screen and (max-width: 926px) {

    /* --- Enterprise Wiki --- */
    /* Content area wrapper, parent of col-fluid-1 and col-fluid-2 */
    #contentBox {
        -moz-min-width: inherit;
        -ms-min-width: inherit;
        -o-min-width: inherit;
        -webkit-min-width: inherit;
        min-width: inherit; /* Reset OOTB min-width from fixed value to inherit which will take up the available space */
    }

    /* Alter right column on Enterprise Wiki default page */
    .right-wp-zone-col {
        float: none; /* Remove OOTB float */
    }

    /* Sub content area wrappers, sibling to right-wp-zone-col */
    .col-fluid-1,
    .col-fluid-2 {
        margin-right: 10px; /* Alter OOTB margin */
    }


    /* --- Blog --- */
    /* Reset min-widths on content containers */
    #contentBox,
    .ms-blog-MainArea {
        -moz-min-width: inherit;
        -ms-min-width: inherit;
        -o-min-width: inherit;
        -webkit-min-width: inherit;
        min-width: inherit; /* Reset OOTB min-width from fixed value to inherit which will take up the available space */
    }

    /* Table conversions so table cells will wrap */
    .ms-blog-MainArea {
        display: block; /* Switch from a table display to a block level display, which forces other elements to be above or below */
    }

        .ms-blog-MainArea td:first-child,
        .ms-blog-LeftColumn {
            display: inline-block; /* Switch from a table cell display to an inline block level display, which allows other elements to be to the right or left */
            width: auto;
        }

    .ms-blog-LeftColumn {
        display: none;
    }


    /* --- Team Site --- */
    /* Reset min-widths on content container */
    #contentBox {
        -moz-min-width: inherit;
        -ms-min-width: inherit;
        -o-min-width: inherit;
        -webkit-min-width: inherit;
        min-width: inherit; /* Reset OOTB min-width from fixed value to inherit which will take up the available space */
    }

    /* Table conversions so table cells will wrap */
    #layoutsTable {
        display: block; /* Switch from a table display to a block level display, which forces other elements to be above or below */
    }

        #layoutsTable td {
            display: inline-block; /* Switch from a table cell display to an inline block level display, which allows other elements to be to the right or left */
            width: auto;
        }

    /* Right side table cell */
    .ms-wiki-columnSpacing {
        padding-left: 0; /* Alter OOTB padding */
    }
}

@media screen and (max-width: 740px) {
    /* Hide the left nav bar */
    #sideNavBox {
        display: none;
    }

    /* Reset the margin of the content area */
    #contentBox {
        margin-left: 20px;
    }

    /* Remove the content area border */
    .right-wp-zone-col {
        border: 0;
    }
}

@media screen and (max-width: 740px) {
    /* Set the parent as the Flexbox container */
    #contentRow {
        display: flex;
        display: -ms-flexbox; /* IE10 */
        display: -webkit-box; /* Safari, Android */
        flex-wrap: wrap;
        -ms-flex-wrap: wrap; /* IE10 */
    }

    /* Set the order of the Flexbox items */
    #sideNavBox {
        order: 2;
        -ms-flex-order: 2; /* IE10 */
        -webkit-order: 2; /* Safari, Android */
        margin-top: 20px; /* Add spacing between content area and left nav */
    }

    #contentBox {
        margin-left: 20px; /* Reset the margin of the content area */
        order: 1;
        -ms-flex-order: 1; /* IE10 */
        -webkit-order: 1; /* Safari, Android */
    }

    /* Remove the content area border */
    .right-wp-zone-col {
        border: 0;
    }
}


@media screen and (max-width: 740px) {
    /* Reset the margin of the content area */
    #contentBox {
        margin-left: 0;
    }

    /* Remove the content area border */
    .right-wp-zone-col {
        border: 0;
    }

    /* Format left nav container and items */
    #sideNavBox {
        float: none; /* Remove OOTB float so content appears beneath the nav */
        border: 1px solid #999; /* Bounding box */
        -ms-border-radius: 15px;
        border-radius: 15px; /* Rounded corners */
        padding: 5px 10px; /* Add padding to space content from border */
        margin-bottom: 15px; /* Create space between left nav and content underneath */
    }

    .ms-core-sideNavBox-removeLeftMargin {
        margin-left: 0; /* Alter OOTB margin */
    }

    #sideNavBox .ms-core-listMenu-item {
        padding: 3px 10px; /* Alter OOTB padding */
    }

    /* Add header text */
    #sideNavBox:before {
        content: "Additional Resources:"; /* Header text */
        padding-bottom: 7px; /* Space out text from horizontal rule */
        display: block; /* Required for padding to work */
        border-bottom: 1px solid #999; /* Horizontal rule */
    }

    /* Hide child level navigation items and other unnecessary items */
    #sideNavBox ul.root ul,
    .ms-core-listMenu-verticalBox .ms-listMenu-editLink, /* Current navigation "Edit Links" when managed navigation is in use */
    .ms-core-sideNavBox-removeLeftMargin > .ms-core-listMenu-verticalBox /* Site Contents */ {
        display: none;
    }
}


@media screen and (max-width: 470px) {
    /* Hide Edit Links (icon and text) */
    div[id$="TopNavigationMenu"] li.static.ms-listMenu-editLink, /* Desktop view */
    div[id$="TopNavigationMenu"] ul.root:hover li.ms-listMenu-editLink /* Mobile view */ {
        display: none;
    }

    /* Adjust menu placement from previous responsive changes */
    .ms-breadcrumb-box {
        height: 40px; /* Increase height previously set */
        margin: 10px 0 5px -15px; /* Move nav closer to logo and edge of page */
    }

    /* Remove unnecessary branding from global nav */
    div[id$="TopNavigationMenu"] ul.root {
        border: 0;
        background: #fff;
    }

        /* Add "Menu" text before nav list - necessary to prevent mobile user accidentally jumping to first nav item when menu is activated */
        div[id$="TopNavigationMenu"] ul.root > li.static:first-child:before {
            content: "Menu";
            display: block;
            padding: 5%;
            background: #ccc;
        }

    /* Reset global navigation item formatting */
    div[id$="TopNavigationMenu"] li.static a.static, /* First level of nav */
    div[id$="TopNavigationMenu"] li.static a.dynamic /* Second level of nav */ {
        -moz-min-width: 100px;
        -ms-min-width: 100px;
        -o-min-width: 100px;
        -webkit-min-width: 100px;
        min-width: 100px; /* Optional */
        width: auto; /* Can also set to an absolute value */
        padding: 10% 15%;
        border-top: 0;
        border-bottom: 1px solid #dfdfdf;
        margin-right: 0;
        display: block;
        font-size: .8rem;
        line-height: 1.5;
        position: relative;
    }

    div[id$="TopNavigationMenu"] li.static a.dynamic {
        padding-left: 25%;
    }

    div[id$="TopNavigationMenu"] li.static > a:last-child {
        border-bottom: 0;
    }

    div[id$="TopNavigationMenu"] li.static a:hover {
        background: rgba(205,230,247,0.5);
    }

    /* Reset positioning of level 2 navigation items */
    div[id$="TopNavigationMenu"] ul.dynamic {
        border: 0;
        -webkit-box-shadow: none;
        -ms-box-shadow: none;
        box-shadow: none;
        left: 0;
        top: 0;
        position: relative;
        padding: 0;
        width: auto !important; /* !important required to override inline style */
        left: 0 !important; /* !important required to override inline style */
        top: 0 !important; /* !important required to override inline style */
    }

        /* Hide level 3 navigation items */
        div[id$="TopNavigationMenu"] ul.dynamic ul.dynamic {
            display: none;
        }

    /* Remove drop down arrows on navigation items with dynamic children menus */
    #s4-titlerow div[id$="TopNavigationMenu"] .dynamic-children.additional-background {
        background-image: none;
    }

    /* Insert stacked lines icon to designate global navigation */
    div[id$="TopNavigationMenu"] ul.root:before {
        content: "\f0c9";
        font-family: FontAwesome;
        background: white;
        font-size: 1.4rem;
        padding: 1px 10px;
        display: block;
        -ms-border-radius: 5px;
        border-radius: 5px;
        text-align: center;
        border: 1px solid #ccc;
        margin: 0 15px;
    }

    /* Hide stacked lines icon on hover */
    div[id$="TopNavigationMenu"] ul.root:hover:before {
        display: none;
    }

    /* Hide global navigation items */
    div[id$="TopNavigationMenu"] ul.root > li {
        display: none;
    }

    /* Display global navigation box on hover */
    div[id$="TopNavigationMenu"] ul.root:hover {
        background: white;
        border: 1px solid #ccc;
        -ms-border-radius: 5px;
        border-radius: 5px;
        margin: 0 0 0 15px;
        position: absolute;
        z-index: 2;
    }

        /* Display global navigation items on hover */
        div[id$="TopNavigationMenu"] ul.root:hover > li {
            display: block;
        }

    #topNavigation {
        background-color: #fff;
        height: 0;
        margin-top: 0;
    }

    #s4-titlerow {
        padding-top: 0;
        float: left;
        height: 35px;
        line-height: 35px;
        width: 100%;
    }

    #titleAreaBox {
        width: 100%;
    }

    .ms-breadcrumb-box {
        height: 35px;
        float: left;
    }

    .ms-verticalAlignTop {
        vertical-align: middle;
    }

    .ms-breadcrumb-top {
        height: 35px;
        float: left;
        width: 100%;
    }

    .ms-core-listMenu-horizontalBox {
        display: flex;
    }

        .ms-core-listMenu-horizontalBox ul, .ms-core-listMenu-horizontalBox li {
            height: auto;
            padding: 0;
        }

            .ms-core-listMenu-horizontalBox li.static > .ms-core-listMenu-item {
                border: 0 none;
                margin-right: 0;
                color: #737373;
            }

    #leftContent {
        display: none;
    }

    #categories #othernewscategory .newsitem .newsright .content {
        height: auto;
    }

    #pageTitle {
        margin-left: 120px;
        padding-bottom: 10px;
        font-size: 25px;
        border: 0;
    }

    #headerTop {
        padding-left: 0;
    }

    #topNavigation {
        padding-left: 0;
    }

    .search-box {
        margin-top: 0;
    }

    #s4-bodyContainer {
        padding-bottom: 0;
    }

    #footerContent .footTop .contactUs {
        text-align: left;
        margin-top: 20px;
    }

    #usefullLinks-view .usefullLinks-popularsearches {
        padding-left: 5px;
    }

    #othernews .newsright .viewMore {
        display: none;
    }
}


@media screen and (max-width: 360px) {
    /* Hide right side of Suite Bar links */
    .ms-core-deltaSuiteLinks {
        display: none;
    }

    #pageTitle {
        margin-left: 100px;
    }

    #usefullLinks-view .usefullLinks-popularsearches {
        padding-left: 5px;
    }

    #othernews .newsright .viewMore {
        display: none;
    }
}

@media screen and (max-width: 320px) {
    #usefullLinks-view .usefullLinks-Topsites {
        padding-left: 5px;
    }

    #pageTitle {
        margin-left: 65px;
    }

    #othernews .newsright .viewMore {
        display: none;
    }
}
/*-------- End Responsive --------*/

/*-------- Show Diaglog --------*/
.ms-dlgContent .ms-core-pageTitle {
    margin-left: 0;
    border-bottom: none;
}

.ms-dlgContent .ms-dlgTitleBtns {
    margin-right: 0;
}

.ms-dialog #headerTop, .ms-dialog #topNavigation, .ms-dialog .ms-core-pageTitle, .ms-dialog #footerContent {
    display: none;
}
/*-------- End Show Diaglog --------*/
